package com.hb.domain.sys.assembler;

import com.hb.repository.entity.SysDict;
import com.hb.vo.DictVO;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;

import java.util.List;

/**
 * @description: do字典转换器
 * @projectName: zhb-frame-build
 * @author: zhouhaizhi
 * @createTime: 2021/8/26 17:16
 * @version:1.0
 */
@Mapper(componentModel = "spring")
public interface DictDOConvert {

    @Mappings({})
    DictVO toVo(SysDict sysDict);

    @Mappings({})
    List<DictVO> toVoList(List<SysDict> sysDicts);
}
